LOAD BITMAP

This command loads a picture file to the screen.

  Syntax
LOAD BITMAP Filename,Bitmap Number
LOAD BITMAP Filename
  Parameters
Filename
String
Specify a relative or absolute filename to the required file.
Bitmap Number
Integer
Specify a bitmap number between 0 and 32.

  Returns

This command does not return a value.

  Description

The picture file must be of the BMP, JPG, TGA, DDS, DIB or PNG format. You can optionally provide a Bitmap Number between 0 and 32. Once you have loaded the picture file successfully, you can use the specified bitmap number to modify and manage the bitmap. The bitmap number should be specified using an integer value.

  Example Code
LOAD BITMAP "picture.bmp",0
WAIT KEY
  See also

BITMAP Commands Menu
Index